package io.renren.dao;

import io.renren.entity.PriceBookEntity;

import java.util.Date;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * 价格走势表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-04-16 23:59:55
 */
public interface PriceBookDao extends BaseMapper<PriceBookEntity> {

	/**
	 * 统计当日成交量
	 * 
	 * @param startOfDay
	 * @return
	 */
	Long totalVolume(@Param("startOfDay") Date startOfDay);

}
